﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotNET4Study
{
    class StringFormat在多行下的使用
    {
        public static void Execute()
        {
            string commandText = string.Format(@"Update [GeneralBasicSetting] Set   
					[SettingKey] = {0}SettingKey,
					[SettingValue] = {0}SettingValue,
					[SettingDesc] = {0}SettingDesc,
                    [SettingCategory]={0}SettingCategory,
					[DisplayName] = {0}DisplayName,
					[OrderNumber] = {0}OrderNumber,
					[CanUsable] = {0}CanUsable,
					[IsInnerSetting] = {0}IsInnerSetting
             Where [SettingID] = {0}SettingID", "$");

            Console.WriteLine(commandText);
        }
    }
}
